package com.xxxx.server;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * 启动类
 * Created by HMF on 2021/07/22 23:20
 */

@SpringBootApplication
@MapperScan("com.xxxx.server.mapper")
@EnableScheduling
// swaggerUI界面切换第三步：在启动类加上 @EnableSwagger2 注解（前面两步修改后，能成功访问，这步就不需要做了）
//@EnableSwagger2
public class YebApplication {

    public static void main(String[] args) {
        SpringApplication.run(YebApplication.class, args);
    }
}
